#ifndef __GeoDAE_h__
#define __GeoDAE_h__

#include "mainDAE.h"
using namespace MaEngine;


namespace MaEngine
{
	class xmlDaeParseGeometries
	{
	public:
		xmlDaeParseGeometries(TiXmlNode * node)
			:m_Node(node)
		{}
		void parse( GeometryList &geometryList);
	private:
		TiXmlNode * m_Node;


		void parseMesh( TiXmlNode * node, Geometry &geo );
		void parseSource( TiXmlNode * node, Geometry &geo );
		void parseVertices( TiXmlNode * node, Geometry &geo );
		void parseTriangles( TiXmlNode * node, Geometry &geo );
	};
};

#endif // __GeoDAE_h__
